import  axios from  'axios'

export default class RecordNoArchiveslibraryService {
    static recordNoArchiveslibraryService = null

    static getInstance() {
        if (this.recordNoArchiveslibraryService == null) {
            this.recordNoArchiveslibraryService = new RecordNoArchiveslibraryService()
        }
        return this.recordNoArchiveslibraryService
    }

    list(params) {
        return axios.get(`http://localhost/recordNoarchiveslibrarys`, {
            params: params
        })
    }

    del(id){
        return axios.delete(`http://localhost/recordNoarchiveslibrarys/${id}`)
    }

}